package com.tzb.shirospringbootjsp.service;

import com.tzb.shirospringbootjsp.entity.Perms;
import com.tzb.shirospringbootjsp.entity.User;

import java.util.List;

public interface UserService {
    void register(User user);

    User findByUserName(String userName);

    User findRolesByUserName(String username);


    List<Perms> findPermsByRoleId(String id);

}
